package com.gy.api.video.domain.po;

import javax.persistence.*;

@Table(name = "resource_file_shard")
public class ResourceFileShardPO {
    /**
     * ID
     */
    @Id
    private String id;

    /**
     * 文件ID
     */
    @Column(name = "file_id")
    private String fileId;

    /**
     * 文件名称
     */
    @Column(name = "shard_name")
    private String shardName;

    /**
     * 总分片数量
     */
    @Column(name = "shard_chunks")
    private Integer shardChunks;

    /**
     * 当前为第几块分片
     */
    @Column(name = "shard_chunk")
    private Integer shardChunk;

    /**
     * 分片大小
     */
    @Column(name = "shard_size")
    private Long shardSize;

    @Column(name = "shard_etag")
    private String shardEtag;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getShardName() {
        return shardName;
    }

    public void setShardName(String shardName) {
        this.shardName = shardName;
    }

    public Integer getShardChunks() {
        return shardChunks;
    }

    public void setShardChunks(Integer shardChunks) {
        this.shardChunks = shardChunks;
    }

    public Integer getShardChunk() {
        return shardChunk;
    }

    public void setShardChunk(Integer shardChunk) {
        this.shardChunk = shardChunk;
    }

    public Long getShardSize() {
        return shardSize;
    }

    public void setShardSize(Long shardSize) {
        this.shardSize = shardSize;
    }

    public String getShardEtag() {
        return shardEtag;
    }

    public void setShardEtag(String shardEtag) {
        this.shardEtag = shardEtag;
    }
}